package yxy.game.sdk.weixin;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import org.apache.http.NameValuePair;
import yxy.apple.http.server.business.BusinessType;
import yxy.apple.logger.Logger;
import yxy.cherry.game.base.bean.SDKParm;
import yxy.cherry.game.base.bean.SdkParmEnum;
import yxy.game.bean.LoginOtherParm;
import yxy.game.login.Error;
import yxy.game.login.LoginModule;
import yxy.game.util.HttpHelper;
import yxy.game.util.HttpUtil;

@BusinessType(code = "ACTIVE")
public class Active extends Sdk_weixin {

	static final Logger logger = Logger.create(Login.class);
	
	@Override
	public JSONObject handle(JSONObject request) throws Exception {
		return new LoginModule().active(request);
	}

	public JSONObject result(JSONObject result, Error errcode) {
		result.put("result", errcode.number());
		return result;
	}

	
//	public static void main(String[] str) {
//
//	}
}
